package com.api.shopapi.service;

import com.api.shopapi.entity.ConsultRecord;
import com.api.shopapi.entity.dto.ConsultRecordDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface ConsultRecordService {

    int insert(ConsultRecord consultRecord);

    int update(ConsultRecord consultRecord);

    ConsultRecord getByConsultRecordCode(String consultRecordCode);

    PageInfo<ConsultRecordDTO> getPageAdm(int pageIndex,int pageSize,int status,String startTime,String endTime,String governmentCode);

    PageInfo<ConsultRecordDTO> getPageApp(int pageIndex,int pageSize,int status,String userCode);

}
